* {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
body,
html {
  width: 100vw;
  height: 100vh;
}
body {
  display: flex;
  flex-direction: column;
}
.footer {
  height: 3rem;
  // background-color: red;
  ul {
    // background-color: blueviolet;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    li {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-size: 0.6rem;
      i {
        font-size: 1.2rem;
      }
    }
  }
}
.top {
  // height: 2rem;
  flex: 1;
  background-color: aqua;
  overflow: hidden;
  overflow-y: auto;
  //轮播图swiper
  .lunbo {
    width: 100%;
    height: 9rem;
    background-color: brown;
    .swiper-container {
      width: 100%;
      height: 100%;
      // 修改分页器颜色
      .swiper-pagination-bullet-active {
        background-color: black;
      }
      //导航按钮
      .swiper-button-white {
        overflow: hidden;
        height: 20px !important;
        margin-top: -12px !important;
      }
    }
  }
  //公告
  main {
    width: 100%;
    height: 9rem;
    background-color: darkslategray;
  }
  //法律知识
  section {
    width: 100%;
    height: 9rem;
    background-color: dimgrey;
  }
  //案例
  article {
    width: 100%;
    min-height: 9rem;
    background-color: gold;
  }
  aside {
    width: 100%;
    min-height: 10rem;
    background-color: forestgreen;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-content: flex-start;
    .person {
      flex-shrink: 0;
      margin-top: 2rem;
      width: 40%;
      height: 10rem;
      background-color: indigo;
    }
  }
}
.active {
  color: darkred;
}
